Replication Files for "Civic Associations, Populism, and (Un-)Civic Behavior: Evidence from Germany"

1. Table of Contents

Script Files:
Note: You should change the work path at the beginning of every script.
Your work space should have two folders: "data" and "paper"

Within the "paper" folder you should manually create two folders: "graphs" and "tables".
This is where all the tables and figures will be saved.

Step1-analysis_DifnDif_table.R
- Creates:
-table_1-table_A1-figure_a12a-figure_a12b-figure_a12c

Step2-time_trend.R
- Creates jpeg for:
-figure_a17a-figure_a17b-figure_a18a-figure_a18b-figure_a18c-figure_a18d-figure_a18e-figure_a18f-figure_a18g-figure_a18h-figure_a18i-figure_a18j-figure_a18k-figure_a18l-figure_a18m-figure_a18n-figure_a18o-figure_a18p-figure_a18r-figure_a18s-figure_a18t-figure_a18u-figure_a18v-figure_a18x-figure_a18y-figure_a18z-figure_ab18a-figure_ab18b-figure_ab18c-figure_ab18d

Step3-event_study.R
- Creates jpeg for:
-figure_1a
-figure_1b
-figure_1c
-figure_1d-figure_a6a
-figure_a6b
-figure_a7a
-figure_a7b-figure_a7c
-figure_a7d-figure_a8a
-figure_a8b-figure_a8c-figure_a8d-figure_a9a

Step4-LITS_club_membership.R
- Creates jpeg for:
-figure_2

Step5-Mec_scatter.R
- Creates jpeg for:
-figure_3b-figure_3c-figure_3a-figure_3g-figure_3d-figure_3e-figure_3f

Step6-sumstat.R
- Creates:
-table_A1

Step7_Data_sources.R
- Creates:
-table_A2a-table_A2b
Step8-PCA.R
- Creates:
-table_A3

- Creates jpegs for:
-figure_a4-figure_a5

Step9-analysis_DifnDif_NO_CONLEY.R
- Creates:
-table_A5

Step10-analysis_DifnDif_urbanization.R
- Creates:
-table_A6

Step11-analysis_excluding_kul.R
- Creates:
-table_A7

Step12-analysis_DifnDif_COVID
- Creates:
-table_A8

Step13-event_study_excl_east.R
 - Creates:
-figure_a9b-figure_a9c

Step14-event_study_control_vars_trends.R
- Creates jpegs for:
-figure_a10a-figure_a10b-figure_a10c-figure_a10d-figure_a10e-figure_a10f-figure_a10g-figure_a10h-figure_a10i-figure_a10j-figure_a10k

Step15-event_study_other_DVs.R
- Creates jpeg for:
-figure_a11a-figure_a11b-figure_a11c-figure_a11d

Step16-Google_mobility.R
- Creates jpeg for:
-figure_a13a-figure_a13b-figure_a13c-figure_a13d-figure_a13e-figure_a13f-figure_a13g

Step17-Mediation.R
- Creates:
-table_A9

- Create jpegs for:
-figure_a16a-figure_a16b-figure_a16c-figure_a15

Step18-event_study_pct_afd.R
- Create jpegs for:
-figure_a14a-figure_a14b-figure_a14c-figure_a14d

Data for Statistical Analysis and Figures:
2010 - lits2.dta
2016-LiTS-III.dta
2020_DE_Region_Mobility_Report.csv
Covid cases_Risklayer.csv
data_cov_mob.geojson
data_sources1.xlsx
data_sources2.xlsx
Mobility_changes_full.csv

shape_files.gdb
Contains the following shape files:
- gadm36_DEU_1 - Polygons for German states
- Kreisgrenzen_2017 - Polygons for NUTS in Germany
- lits_shape_2010 - Points for primary sampling units in LITS 2010
- lits_shape_2016 - Points for primary sampling units in LITS 2016
- state_pt - Points for German states

3. R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20